import 'package:freezed_annotation/freezed_annotation.dart';

part 'ConditionDto.g.dart';

///ConditionDto
@JsonSerializable()
class ConditionDto {
  @JsonKey(name: "id")
  String? id;
  @JsonKey(name: "name")
  String? name;

  ConditionDto({
    this.id,
    this.name,
  });

  factory ConditionDto.fromJson(Map<String, dynamic> json) => _$ConditionDtoFromJson(json);

  Map<String, dynamic> toJson() => _$ConditionDtoToJson(this);
}
